package com.userfactssample.client.client.framework;

import com.smartgwt.mobile.client.data.RecordList;
import com.smartgwt.mobile.client.types.SelectionStyle;
import com.smartgwt.mobile.client.types.TableMode;
import com.smartgwt.mobile.client.widgets.tableview.TableView;

public class UMTableView extends UMComponent<TableView> {

	public UMTableView() {
		super(new TableView());
	}

	@Override
	protected void initialiseComponent() {

	}

	public void setTitleField(String titleField) {
		getComponent().setTitleField(titleField);
	}

	public void setSelectionType(SelectionStyle selectionStyle) {
		getComponent().setSelectionType(selectionStyle);
	}

	public void setShowSelectedIcon(boolean showSelectedIcon) {
		getComponent().setShowSelectedIcon(showSelectedIcon);
	}

	public void setTableMode(TableMode tableMode) {
		getComponent().setTableMode(tableMode);
	}

	public void setData(RecordList records) {
		getComponent().setData(records);
	}

}
